package practice04;

/**
 * @author Administrator
 * @version V1.0
 * @ProjectName:IntelliJ IDEA
 * @PackageName: practice04
 * @ClassName: SE
 * @Description: TODO(这里用一句话描述这个类的作用)
 * @date 2019/12/8 14:32
 * @Copyright 大牛版板所有
 */
public class SE extends Employee {
    private String hobby;
    private String level;

    public SE() {
    }

    public SE(String name, String address, String telephone, String email, String office,
              double salary, String hiredate, String hobby, String level) {
        super(name, address, telephone, email, office, salary, hiredate);
        this.hobby = hobby;
        this.level = level;
    }

    public String getHobby() {
        return hobby;
    }

    public void setHobby(String hobby) {
        this.hobby = hobby;
    }

    public String getLevel() {
        return level;
    }

    public void setLevel(String level) {
        this.level = level;
    }


    public void intro(){
        System.out.println("我叫"+this.getName()+"，爱好是"+this.getHobby()+"，住在"+this.getAddress()+
                "，电话号码是"+this.getTelephone()+"，电子邮件是"+this.getEmail()+"，办公室在"+this.getOffice()
                +"，受雇日期为"+this.getHiredate()+"，职级为"+this.getLevel()+"，工资是"+this.getSalary()+"元");
    }
}
